package com.disease.api.service.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("death_report_info_review")
public class DeathReportInfoReview {
    private Long pkId;
    private String patientId;
    private String patientName;
    private String idCard;
    private String deathId;
    private String content;

    public DeathReportInfoReview(Long pkId, String content) {
        this.pkId = pkId;
        this.content = content;
    }

    public static DeathReportInfoReview of(String patientId, String deathId){
        DeathReportInfoReview deathReportInfoReview=new DeathReportInfoReview();
        deathReportInfoReview.setPatientId(patientId);
        deathReportInfoReview.setDeathId(deathId);
        return deathReportInfoReview;
    }

    public static DeathReportInfoReview of(String patientId,String idCard, String deathId){
        DeathReportInfoReview deathReportInfoReview=new DeathReportInfoReview();
        deathReportInfoReview.setPatientId(patientId);
        deathReportInfoReview.setDeathId(deathId);
        deathReportInfoReview.setIdCard(idCard);
        return deathReportInfoReview;
    }

    public static DeathReportInfoReview of(String patientId,String patientName,String idCard, String deathId){
        DeathReportInfoReview deathReportInfoReview=new DeathReportInfoReview();
        deathReportInfoReview.setPatientId(patientId);
        deathReportInfoReview.setPatientName(patientName);
        deathReportInfoReview.setDeathId(deathId);
        deathReportInfoReview.setIdCard(idCard);
        return deathReportInfoReview;
    }
}
